package com.neusoft.chanceserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * <p>
 * 客户-机会关系表
 * </p>
 *
 * @author Zhu Botao
 * @since 2021-07-21
 */
public class CustomerChance implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 客户机会关系编号
     */
    @TableId(value = "customer_chance_id", type = IdType.AUTO)
    private Integer customerChanceId;

    /**
     * 机会编号
     */
    private Integer chanceId;

    /**
     * 客户编号
     */
    private Integer customerId;


    public Integer getCustomerChanceId() {
        return customerChanceId;
    }

    public void setCustomerChanceId(Integer customerChanceId) {
        this.customerChanceId = customerChanceId;
    }

    public Integer getChanceId() {
        return chanceId;
    }

    public void setChanceId(Integer chanceId) {
        this.chanceId = chanceId;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    @Override
    public String toString() {
        return "CustomerChance{" +
        "customerChanceId=" + customerChanceId +
        ", chanceId=" + chanceId +
        ", customerId=" + customerId +
        "}";
    }
}
